SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspPermission_UPDATE
(
@permissionId int = null,
@accountId int = null,
@accessRoleId int = null,
@createdDate datetime = null,
@lastModifiedDate datetime = null,
@isDeleted nchar(10) = null
)
AS

UPDATE
  [dbo].[Permission]
SET
  [AccountId] = @accountId,
  [AccessRoleId] = @accessRoleId,
  [CreatedDate] = @createdDate,
  [LastModifiedDate] = @lastModifiedDate,
  [IsDeleted] = @isDeleted
WHERE
  [PermissionId] = @permissionId


GO
